import Vue from 'vue'
import App from './App'
import router from './router'

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  mounted(){
    // 预渲染，事件名和vue.config.js一样
    document.dispatchEvent(new Event('custom-render-trigger'))
  },
  render: h => h(App)
})
